using pixolut.BizBlox;

public class Student : DataObject
{

//START BizBlox Generated Code : Do not remove or alter this comment
//Last Updated : Thursday, 31 January 2008 1:05:24 PM
//BizBlox Version : 1.6.0.0
#region "BizBlox Generated Code"

// ##Start CodeSegment
// $Identifier = +Elements
// $DoNotModify = False

    public Student(){
    }

    public Student(System.Guid uid) : base(uid){
    }

    public Student(ref DOCollection baseCol, int index) : base(ref baseCol, index){
    }

    public new enum Columns {
        StudentID,
        Name,
        Email,
        Age
    }

    public override string TableName() {
        return "Student";
    }

    public override System.Enum UidColumn() {
        return Columns.StudentID;
    }


// ##End CodeSegment

// ##Start CodeSegment
// $Identifier = StudentID
// $DoNotModify = False

    private System.Guid m_StudentID;
    public System.Guid StudentID{
        get {
            return m_StudentID;
        }
        set {
            this.Touch();
            m_StudentID = value;
        }
    }

// ##End CodeSegment

// ##Start CodeSegment
// $Identifier = Name
// $DoNotModify = False

    private System.String m_Name;
    public System.String Name{
        get {
            return m_Name;
        }
        set {
            this.Touch();
            this.BoundsCheck(Columns.Name, value , 256);
            m_Name = value;
        }
    }

// ##End CodeSegment

// ##Start CodeSegment
// $Identifier = Email
// $DoNotModify = False

    private System.String m_Email;
    public System.String Email{
        get {
            return m_Email;
        }
        set {
            this.Touch();
            this.BoundsCheck(Columns.Email, value , 256);
            m_Email = value;
        }
    }

// ##End CodeSegment

// ##Start CodeSegment
// $Identifier = Age
// $DoNotModify = False

    private System.Int32 m_Age;
    public System.Int32 Age{
        get {
            return m_Age;
        }
        set {
            this.Touch();
            m_Age = value;
        }
    }

// ##End CodeSegment

#endregion

//END BizBlox Generated Code : Do not remove or alter this comment

}